/*
 * @Description:
 * @Version: 1.0
 * @Author: liguansheng
 * @Date: 2022-08-08 10:02:40
 * @LastEditors: liguansheng
 * @LastEditTime: 2022-08-08 10:42:18
 */
import { IRole } from './role'

export interface IDepartment {
  id: string
  parentId: string
  displayName: string
  children: IDepartment[]
}
export interface IAddDepartment {
  parentId: string | undefined
  displayName: string
  roles?: IRole[]
  id?: string
}

export interface IDepartmentUser {
  id: string
  userName: string
  name: string
  email: string
  phoneNumber: string | null
  creationTime: string
}
